package com.xxxt.jxj.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xxxt.entity.Comment;
import com.xxxt.entity.Company;
import com.xxxt.entity.Practice;
import com.xxxt.entity.Student;

public interface CommentService {
	
	
	List<Practice> findPracticeByStudentAndCompany(String sno, String companyid);
	
	Company findCompany(String companyId);
	
	Student findStudent(String sno);
	
	boolean insertComment(Comment comment);
	
	boolean updateComment(Comment comment);
	
	boolean deleteComment(Comment comment);
	
	Comment findCommentByCommentId(String commentId);
	
	List<Comment> findCommentByCompany(String companyId,int pageSize,int pageNum);
	
	List<Comment> findCommentByCompanyAndSno(String sno,String companyId,int pageSize,int pageNum);
	
	List<Comment>  findCommentContentByStudentAndCompany(String sno, String companyId);
	
}
